﻿using Sunny.UI;

namespace CoreShop.App
{
    public partial class FPrinter : UIForm
    {
        public FPrinter()
        {
            InitializeComponent();
        }

        private void uiButton1_Click(object sender, System.EventArgs e)
        {
            UIButton btn = (UIButton)sender;
            btn.Selected = true;

            int tag = btn.Tag.ToString().ToInt();
            if (tag == 2002)
            {
                if (!ExistPage(2002))
                {
                    AddPage(new FPrinterManage());
                }

                SelectPage(2002);
            }

        }
    }
}
